package com.sefon.smarteconomy.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
 
/**
 * 
 * Copyright: Copyright (c) 2018 SefonSoft 
 * 
 * @ClassName: User.java 
 * @Description:基本数据映射
 * 
 * @version: v1.0.0
 * @author: SF2170
 * @by AnalysisExcel2File.java
 * @Date 2018/03/26 22:07:28
 * 
 */
@Entity
@Table(name="basic_data_map")
public class BasicDataMap {

	/**
	* 唯一性(100-199:客户关系)建立索引 而且字段描述里写清楚多少到多少表示什么字段
	*/
	@Id 
	@Column(name="`code`", unique=true, columnDefinition="int COMMENT '字段key'")
	private Integer code;

	@Column(name="`name`", length=255, columnDefinition="varchar(255) COMMENT '字段名称'")
	private String name;

	@Column(name="`desc`", length=255, columnDefinition="varchar(255) COMMENT '描述'")
	private String desc;


	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

}
